Inserting advertising content

ABSTRACT

Content may be inserted at a duplicating device by inserting advertising content into a duplicated feed, and transmitting the duplicated feed to the terminal. The transmission of the duplicated feed is performed in response to a state of the terminal.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application, incorporates by reference U.S. Provisional ApplicationNo,. 60/286,964, titled “Generating Multiple Data Streams from a SingleContent source” and filed Apr. 30, 2001; U.S. application Ser. No.09/893,692, titled “Generating Multiple Data Streams from a SingleContent Source” and filed Jun. 29, 2001; U.S. Provisional ApplicationNo. 60/373,329, titled “Stream Management” and filed Apr. 18, 2002; U.S.Provisional Application No. 60/343,182, titled “Duplicating DigitalStreams for Digital Conferencing Using Switching” and filed Dec. 31,2001; U. S. Application No. 10/134,552, titled “Managing Access ToStreams Hosted on Duplicating Switches” and filed Apr. 30, 2002; U.S.application Ser. No. 10/157,909, titled “Load Balancing with DirectTerminal Response” and filed May 31, 2002; U.S. application Ser. No.10/134,439, titled “Duplicating Digital Streams for Digital ConferencingUsing Switching Technologies” and filed Apr. 30, 2002; and U.S.application Ser. No. 10/090,727, titled “A Duplicating Switch torStreaming Data Units to a Terminal” and tiled Mar. 6, 2002.

TECHNICAL FIELD

This document relates to advertising and streaming media systems.

BACKGROUND

Inserting advertising into a media feed may be manually intensive andprone to operator error. One approach to inserting advertising hasinvolved placing special audio tones in an audio/visual signal to cueanalog gear to play a stored tape.

SUMMARY

In general, advertising content may be inserted into a media feed byreceiving a first feed of one or more data units comprising an attributeportion and a payload portion, duplicating the first feed at theduplicating device tor transmission as at least one duplicated feed,inserting advertising content into the duplicated feed prior totransmission, and transmitting the duplicated feed to the terminal. Thetransmission of the duplicated feed is performed in response to a stateof the terminal. A duplicating device may insert the advertising contentand perform the other operations.

Implementations may include one or more of the following features. Forexample, the advertising content may be selected based on a profile fora terminal. The advertising content may be loaded upon determining thatthe terminal profile relates to an advertising content profileassociated with the advertising content. The terminal profile may relateto one or more preferences associated with a user of the terminal. Thestate of the terminal may include the temporal location of the terminalin receiving the duplicated feed (i.e., the portion of the duplicatedfeed that the terminal has received).

The first feed may include regularly scheduled programming. Theadvertising content may be associated with one or more categories. Thecategories may include a local requirement. The advertising content mayinclude a stream of data units.

The advertising content may be inserted upon reaching a metatag. Themetatag may indicate a level of parental control.

The duplicating device may be structured and arranged to store theadvertising content. Storing the advertising content may include storingthe advertising content in an advertising buffer structured and arrangedto be transmitted in the duplicated feed upon the occurrence of apredetermined event. The predetermined event may include reaching ametatag in the first feed, the metatag indicating that the advertisingcontent should be inserted in the duplicated feed. Inserting advertisingcontent may include comparing a local metatag with a national metatag todetermine whether to insert a piece of local advertising content insteadof apiece of national advertising content.

Content may be inserted from die first feed in the event of aninterruption. The interruption may include a loss of service inaccessing the advertising content. The interruption also may include anemergency message indicating that emergency programming requirestransmission.

Transmitting the duplicated feed to the terminal may includetransmitting the duplicated feed with an address corresponding to theterminal.

The data unit may include an Internet Protocol packet. The attributeportion of the data unit may include an Internet Protocol header. Theattribute portion of the data unit also may specify one or more piecesof layer-three information. Different attribute portions may begenerated and associated with duplicates of the payload portiongenerated in the duplicate stream.

Duplicating at least the payload portion may include duplicating onlythe payload portion of the data unit. Duplicating at least the payloadportion also may include duplicating the payload portion and theattribute portion. Changing the IP destination address may includechanging the IP destination address to an IP address corresponding toone or more terminals to which access to the payload portion will beenabled.

Associating different attribute portions with the data wait andduplicates of the payload portion may include specifying destinationinformation that differs among the duplicates of the payload portion.Generating and associating different attribute portions may includechanging in IP destination address.

Other features will be apparent from the following description,including the drawings, and the claims.

DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram of a communications system configured tosplice multiple streams of data units.

FIG. 2 is a flow chart illustrating how advertisements may be insertedinto a duplicated feed is a communications system, such as thecommunications system in FIG. 1.

FIG. 3 is a block diagram of a communications system configured toenable national and local advertising insertion.

FIG. 4 is a block diagram showing data flow as a duplicating device usesmetatags to enable local advertising insertion.

FIG. 5 is a flow chart Illustrating how a communications system mayinsert local advertising content by processing metatags.

Like reference symbols in the various drawings indicate like elements.

DETAILED DESCRIPTION

For illustrative purposes, FIGS. 1-5 describe a communications systemfor inserting advertising content into a stream of data units.Generally, a source system sends a first feed to a duplicating device.In response, the duplicating device duplicates the feed, insertsadvertising content in the duplicated feed, and transmits the duplicatedfeed to a terminal. The transmission of the duplicated feed is performedin response to the state of the terminal receiving the duplicated feed.For instance, a duplicating switch may determine a profile for theterminal (e.g., recipient), and determine where the terminal is at inreceiving the stream. Upon determining that the recipient is reaching anadvertising ‘slot’ or metatag, the duplicating device may insert a pieceof advertising content into the duplicated stream, and transmit theduplicated stream to the terminal.

For brevity, several elements in the figures described below arerepresented as monolithic entities. However, as would be understood byone skilled in the art, these elements each may include numerousinterconnected computers and components designed to perform a set ofspecified operations and/or dedicated to a particular geographicalregion.

Referring to FIG. 1, communications system 100 includes a source system110, a terminal 150, and communication software and hardware enablingcommunications between the source system 110 and the terminal 150. Moreparticularly, the communications path between the source system 110 andthe terminal 150 includes a network 120, a duplicating device 130, and anetwork 140. As will be described in greater detail, the source system110 generally transmits one or more data units in a first feed of dataunits across network 120 to one or more duplicating devices 130 thatduplicate data units or portions thereof and transmit the duplicateddata units or data unit portions to two or more terminals 150 throughnetwork 140.

Typically, a source system 110 may be structured and arranged to converta media source (e.g., a video or audio feed) into a first feed of dataunits for transmission across a network 120. The source system 110 mayinclude a general-purpose computer having a central processor unit(CPU), and memory/storage devices that store data and various programssuch as an operating system and one or more application programs. Otherexamples of a source system 110 include a workstation, a server, aspecial purpose device or component, a broadcast system, otherequipment, or some combination thereof capable of responding to andexecuting instructions in a defined manner. The source system 110 alsotypically includes an input/output (I/O) device (e.g., video and audioinput and conversion capability), and peripheral, equipment such as acommunications card or device (e.g., a modem or a network adapter) forexchanging data with the network 120.

A communications link 115 is used to communicate data between sourcesystem 130 and network 120. Communications link 115 may include, forexample, a telephone line, a wireless network link, a cable network, ora direct connection.

The network 120 typically includes hardware and/or software capable ofenabling direct or indirect communications between the source system 110and the duplicating device 130. The network 120 may include a directlink between the source system 110 and the device 130, or it may includeone or networks or subnetworks between them (not explicitly shown). Eachnetwork or subnetwork may include, for example, a wired or wireless datapathway capable of carrying and receiving data. Examples of network 120include the Internet, the World Wide Web, a WAN (“Wide Area Network”), aLAN (“Local Area Network”), an analog or a digital wired and/or wirelesstelephone network (e.g., PSTN (“Public Switched Telephone Network”) ,ISDN (“Integrated Services Digital Network”), or xDSL (“any form ofDigital Subscriber Loop”)), a radio, television, cable, or satellitenetwork, or any other delivery mechanism for carrying data.

The duplicating device 130 typically is structured and arranged toreceive the first feed of data units from the source system 110, toduplicate the stream of data units, and to transmit a stream ofduplicated data units to one or more terminals 150. In someimplementations, the duplicating device 130 is structured and arrangedto perform filtering and forwarding between different domains at thesame level of the protocol stack in the OSI (“Open Systeminterconnection”) reference model. For example, duplicating device 130may forward Ethernet frames between different Ethernet segments. Inanother example, duplicating device 130 may forward IP packets betweendifferent IP subnets.

The duplicating device 130 may include a duplicating switch. Generally,a duplicating switch includes a device that performs network operationsand functions in hardware (e.g., in a chip or part of chip). In someimplementations, the duplicating switch may include an ASIC(“Application Specific Integrated Circuit”) implementing networkoperations logic directly on a chip (e.g., logical gates fabricated on asilicon wafer and then manufactured into a chip). For example, an ASICchip may perform filtering by receiving a packet, examining the IPaddress of the received packet, and filtering based on the IP address byimplementing a logical gate structure in silicon.

Implementations of the device included in the duplicating switch mayemploy a Field Programmable Gate Array (FPGA), A FPGA is generallydefined as including a chip or chips fabricated to allow a third partydesigner to implement a variety of logical designs on the chip. Forexample, a third party designer may load a FPGA with a design to replacethe received IP addresses with different IP addresses, or may load theFPGA with a design to segment and reassemble IP packets as they aremodified while being transmitted through different networks.

Implementations of the device included in the duplicating switch alsomay employ a network processor. A network processor is generally definedto include a chip or chips that allow software to specify which networkoperations will be performed. A network processor may perform a varietyof operations. One example of a network processor may include severalinterconnected RISC (“Reduced Instruction Set Computer”) processorsfabricated in a network processor chip. The network processor chip mayimplement software to change an IP address of an IP packet on some ofthe RISC processors. Other RISC processors in the network processor mayimplement software that monitors which terminals are receiving an IPstream.

Although various examples of network operations were defined withrespect to the different devices, each of the devices tends to beprogrammable and capable of performing the operations of the otherdevices. For example, the FPGA device is described as the device used toreplace IP addresses and segment and reassemble packets. However, anetwork processor and ASIC are generally capable of performing the sameoperations.

The duplicating device 130 may include an advertising buffer 132structured and arranged to store one or more pieces of advertisingcontent. Typically, the advertising buffer 132 is structured andarranged to enable timely insertion of one or more pieces of advertisingcontent into a duplicated feed. Although common uses of the advertisingbuffer 132 may include traditional advertisements, other content thatmay be stored in the advertising buffer may include National EmergencyBroadcast System content, other programming (e.g., local and/or breakingnews over nationally scheduled programming), and/or fail overconnections.

The duplicating device 130 may include an advertising store 134structured and arranged to store one or more pieces of content forinsertion. As shown by the dotted lines, the advertising store 134 mayreside locally on the duplicating device 130 or it may reside on aseparate and distinct device, such, as, for example, a separate serveror duplicating switch with storage. Although aspects of the advertisingstore 134 may resemble aspects of the advertising buffer 132, theadvertising buffer 132 serves to provide timely access to the desiredcontent while the advertising store 134 serves to provide more storagethan typically is practical for the advertising buffer 132 to provide.

In one example, a duplicating device 130 may include both an advertisingbuffer 132 and an advertising store 134. In this example, the pool ofavailable advertisements might reside in the advertising store 134 withthe duplicating device 130 selecting required advertisements for loadingto the advertising buffer 132 for just-in time splicing. Through thisselective loading to the advertising buffer 132, the amount of bufferrequired may be reduced. However, while the advertising buffer 132 mayillustrate one device to reduce solid-state memory requirements, theadvertising store 134 also may be used to splice advertisements. Forexample, the duplicating device 130 may initially store a received feedonto a hard disk drive. Advertising content may be inserted Into thereceived feed, and the results may be transmitted as the duplicatedfeed. Other examples may feature the use of a disk drive with adequateseek times as an advertising buffer 132. Similarly, the advertisingstore 134 also may include one or more solid-state memory devices (e.g.,Random Access Memory).

The duplicating device 130 also may include an advertising interface136. Typically, the advertising interface 136 includes a controllerstructured and arranged to access one or more pieces of advertisingcontent for insertion Into the duplicated feed. For example, theadvertising interface 136 may access a network (e.g., network 120 or140) to ‘pull’ the requited advertisement so that the requiredadvertisement may be inserted. The advertising interface 136 then mayload the pulled advertisement to the advertising buffer 132 and/oradvertising store 134.

Data units handled by duplicating switch 130 may be accessed by or sentto terminals 150 through network 140. As such, network 140 is structuredand arranged to receive data units transmitted from the duplicatingswitch 130 for transmission to the terminals 150.

The network 140 may include hardware and/or software capable of enablingdirect or indirect communications between the duplicating switch 130 andthe terminal 150. As such, the network 140 may include a direct linkbetween the duplicating switch 130 and the terminal 150, or it mayinclude one or more networks or subnetworks between them (not shown).Each network or subnetwork may include, for example, a wired or wirelessdata pathway capable of carrying and receiving data. Examples of thedelivery network include the examples noted above with respect tonetwork. 120. Network 120 and network 140 may share one or more hardwareor software devices.

The terminal 150 may include one or more devices capable of receivingthe duplicated feed transmitted by duplicating device 130 throughnetwork 140. The terminal 150 may include a controller (not shown) thatprocesses instructions received from or generated by a softwareapplication, a program, a piece of code, a device, a computer, acomputer system, or a combination thereof, which independently orcollectively direct operations of the terminal 150. The instructions maybe embodied permanently or temporarily in any type of machine,component, equipment, storage medium, or propagated signal that iscapable of being delivered to the terminal 150 or that may reside withthe controller at terminal 150. Terminal 150 may include ageneral-purpose computer (e.g., a personal computer (PC) 152) capable ofresponding to and executing instructions in a defined manner. Theterminal 150 also may include a workstation, a notebook computer, a PDA(“Personal Digital Assistant”), a wireless phone, a component, otherequipment, or some combination of these items that is capable ofresponding to and executing instructions.

In one implementation, the terminal 150 includes one or more informationretrieval software applications (e.g., a browses, a mail application, aninstant messaging client, an Internet service provider client, or an AOLTV or other integrated client) capable of receiving one or more dataunits. The information retrieval applications may run on ageneral-purpose operating system and a hardware platform that includes ageneral-purpose processor and specialised hardware for graphics,communications and/or other capabilities. In another implementation,terminal 150 may include a wireless telephone running a micro-browserapplication on a reduced operating system with general purpose andspecialised hardware capable of operating in mobile environments.

In another implementation, the terminal 150 may include a cable headend154. Typically, aspects of the cable headend 154 resemble aspects of theterminal 150 and/or the PC 152 described above. For example, the cableheadend 154 may include one or more software applications to retrievecontent. Thus, a cable headend 154 may retrieve required content andsent it out on a cable distribution program as regularly scheduledprogramming on a specified cable channel.

However, aspects of the cable headend 154 typically differ in that thecable headend is typically structured and arranged to act as a proxy forone or more devices (e.g., a set top tuner). While a PC can act as aproxy for one or more devices, PC's typically do not do so. As aconsequence, the state of the cable headend 154 may include anaggregation of one or more constituent subscribers, in addition todescribing state information for the cable headend itself. For example,a cable headend 154 could fee given a profile that aggregates one ormore individual profiles. This aggregated profile could be modified,tracked, and changed in the same manner that the state of a PC could bemodified, tracked and changed. The difference is that the cable headend154 may involve additional processing to aggregate the individualprofiles/states.

FIG. 2 illustrates how advertisements may be inserted in acommunications system 100. Specifically, FIG. 2 illustrates how aduplicating device 130 receives a first feed, determines the state of aterminal, accessing advertising content responsive to the first teed andthe state of the terminal, and transmits duplicated feed with theadvertising content inserted into the duplicated feed.

Initially, the source system 100 transmits the first feed (step 205).Examples of the first feed (e.g., stream of data units) may include avideo feed (e.g., television programming), an audio feed (e.g.,Internet, radio, or nationally syndicated radio programming beingdistributed across an IP network), and/or nontraditional media (e.g., anonline chat). The duplicating device 130 receives the first feed (step210), and duplicates the first feed (step 215). Although duplicating thefirst feed is shown as occurring in response to receiving the firststream, duplicating the first feed is not required, to be performedfirst upon receiving the first feed. Furthermore, duplicating the firstfeed may refer to a broad spectrum of activities.

In one example, duplicating the first feed may refer to storing thefirst feed in a buffer. Storing this feed may enable rapid duplicationof the content as a duplicated feed by adding and replacing new headerinformation to enable simultaneous access to the content by multipleterminals. Another example may include storing the packet with addressfields in the buffer. The address fields may be modified to representthe addresses corresponding to one or more terminals. Otherimplementations may receive the first feed, duplicate the feed, andtransmit the feed to one or more terminals, without necessarily waitingfor state information to be provided unless advertisements are required.

Independently, or in response to receipt of the first feed by theduplicating device 130, the terminal 150 provides state information(step 225) that the duplicating device 130 receives (step 230). Thestate information may include a terminal profile and sessioninformation. A terminal profile may describe one or more preferencesassociated with viewers using a terminal. For example, a viewer mayprefer trucks to convertibles. Similarly, the viewer may dislikeprofessional sports, while preferring collegiate athletics. Regardlessof the particular preference, these preferences may be represented in anautomated manner. In one example, the terminal may have a record withone or more associated fields, where each field describes the terminalviewer. For example, the first parameter may indicate gender, while thesecond parameter may indicate age. In a second example, a profile mayinclude one or more keywords. In any event, aspects of this terminalprofile may be used to select advertising content.

Session information describes the relationship between the terminal 150and the duplicating device 130 relative to the duplicated recorded bythe feed terminal 150. For example, the duplicating device 130 may knowthat a first terminal has processed 80 packets of the duplicated feed,while a second terminal has processed 95 packets of the duplicated feed.Accordingly, the second terminal will likely reach advertising points atan earlier time than the first terminal. Session information also mayidentify the duplicated feed being received by the terminal.

In response to the state information and receiving the first feed, theduplicating device 130 accesses advertising content (step 235).Typically, accessing content information includes correlating the stateinformation (e.g., session and profile information) with the receivedfirst feed. For example, marketers may determine that certain foodadvertisements should be targeted to certain demographics after certainprogramming. Thus, upon determining that the targeted conditions willoccur or are occurring, one such identified food advertisement may beaccessed for incorporation Into the duplicated feed. Accessingadvertising content may describe a range of activities. For example,accessing advertising content may include loading three pieces ofadvertising content in a buffer (e.g., advertising buffer 132) from anadvertising library (e.g., advertising store 134) of twenty pieces. Inanother example, the duplicating device 130 uses advertising interlace333 to retrieve the required advertisements from an off-device medialibrary. The advertising interface 134 may access an advertising streamand retrieve the stream for incorporation into the duplicated feed ofthe duplicating device 130 without storing the advertising stream. Inanother example, accessing the advertising content may includedetermining whether the advertising content in the advertising buffer132 meets acceptance criteria. If not, a selection program may identifyadvertising content that meets the criteria.

The duplicating device 130 Inserts advertising content Into theduplicated feed (step 240). Inserting advertising content into theduplicated feed may include modifying a location Identifier (e.g., apointer) that identifies which content to duplicate, for example, tochange the identifier from pointing to the first feed (e.g., regularlyscheduled programming) to pointing to advertising content loaded in thebuffer. In another example, the advertising content may be inserted intobuffer locations adjoining the first feed. That is, in the course ofadvancing the location identifier (indicating the portion of theduplicated feed to be sent to a terminal), the location identifier wouldmake no distinction as to whether the content in the buffer was from thefirst feed, or the advertising feed, and, instead, would advance throughthe content without regard to the classification. Another example mayinclude creating at the end of the duplicated feed an indicator as towhere the content from the first feed ends. Upon reaching the indicator,the duplicating device may access the stored content or advertising feedwhere the advertising content resides. The duplicating device 130transmits the duplicated teed with the inserted advertising content tothe terminal (step 245). The terminal 150 receives the duplicated feed(step 250). Receiving the duplicated feed may involve a handshakingprocess to coordinate flow control and stream reception. For example,the duplicating device 130 may transmit the stream as a TCP (“TransportControl. Protocol”) stream and use TCP's handshaking capability tominimize the likelihood of dropped data. This handshaking process mayverify that a terminal has received the advertising content.

FIG. 3 illustrates an example of a communication system 300 that enablesnational and local advertising to be sent to one or more terminals.Generally, aspects of the system described with respect to FIG. 3 relateto aspects of the system described with respect to FIG. 1. For example,both system 100 and system 300 include a source system 110, a network120, a duplicating device 130, a network 140, and a terminal 150.However, the system 300 typically is modified to address a two-tieredadvertising system associated with national and local advertising. Thus,aspects of the system 300 also may present, though not shown, in thesystem 100. For example, the source system 110 may include an analogfeed 311, though such a feed is only shown in FIG. 3.

Source system 110 typically includes a device structured and arranged tosend out a ‘national’ feed through network 120 to one or moreduplicating devices 130 acting as local content insertion points.Generally, source system 110 includes an analog feed 311, an MPEG2(Motion Picture Experts Group 2) encoder 312, an advertising insertiondevice 313, a conversion device 314, a national advertising storage 315,an advertising server 316, and a duplicating switch 317. The sourcesystem 110 may be structured and arranged to convert the analog feed 311into MPEG2 feed using the MPEG2 encoder 312. The conversion device 314is structured and arranged to wrap the MPEG2 stream into an IP streamwith advertising insertion points using advertising insertion device313. Duplicating device 317 is structured and arranged to accessnational advertising storage 315 through advertising server 316 toinsert advertising content into the IP stream sent from conversiondevice 314. Thus, aspects of the source system in FIG. 3 may resembleaspects of the duplicating device described previously. However, FIG. 3,duplicating switch 317 interfaces with another duplicating device 130instead of interfacing with a terminal 150.

Although FIG. 3 illustrates a two-tiered system of advertisinginsertion, implementations may include using more than two tiers ofduplicating devices. For example, a earner may include international,national, regional, and local tiers. The duplicating devices need noteven be assigned to hierarchies. For example, a duplicating devicecloset to the feed may be accessed as the first device for insertingadverting content. This first device may send one or more streams to asecond tier of duplicating devices. These second tier devices may sendtheir feeds with additional inserted advertising content to a third tierof duplicating devices. The situation of the tiers need not be logicalor geographical. For example, the second and third tiers may representdifferent distributer and subscriber groups.

Network 120 includes several connections front the source system 110 tothe duplicating device 130. For example, network 321 includes links toSan Francisco 322, Columbus 323, and Dulles 324. These connection todifferent locations may include redundant links to duplicating device.For example, there is a redundant link 325 between a Columbus link 323and a Dulles link 320 (through network 327) to reach duplicating device130.

Duplicating device 130 includes one or more devices structured andarranged to insert local advertising content. Duplicating device 130includes a local advertising ingest site 331, a local advertisingstorage device 333, and advertising server 353, and a duplicating switch334. In general, duplicating device 130 receives local advertisingcontent in a local advertising content ingest site 331. For example, thelocal advertising ingest device 331 may include a device that convertsone or more tapes of advertisements into a MPEG2 file. This advertisingcontent may reside on local advertising storage 332 to be accessed by anadvertising server 333. The duplicating switch 334 may access theadvertising server 333 to access local advertisements.

Although the duplicating device 130 is described with respect to havingthe local advertising ingest device 331 feed into the local advertisingstorage 332, having the local advertising server 332 feed into theadvertising server 333, and having the advertising 333 feed into theduplicating switch 334, other implementations need not include all ofthese devices. Rather, these devices illustrate the functionality thatmay be present at a local advertising content insertion site. Forexample, the duplicating device 130 might only include a duplicatingswitch 334. This duplicating switch 334 may include functionality toreceive advertising content from one or more sources. These sources mayinclude an analog conversion interface blade on the duplicating switch334, storage residing on the duplicating switch, and/or a networkedcontroller configured to retrieve advertisements.

The duplicating device 130 may interface with the network 140 to reachthe terminal 150, which in this case is the cable headened. Because ofthe functionality of the cable headend equipment, aspects of the network140 may be indistinguishable from aspects of the terminal 150. Forexample, network 140 may include the network equipment to connect theduplicating device 130 to a cable headend, with the cable terminating aportion of the communications (e.g., to modulate onto channels fortuners) with a portion of the communications being forwarded as Internettraffic over the cable system to consumers. Irrespective of whichdevices ate labeled as the network or the terminals, the duplicatingdevice transmits the duplicated feed in response to the state of theterminal, which may be a cable headend or a PC behind the cable headendaccessing the Internet.

FIG. 4 illustrates how metatags may be used to indicate when advertisingcontent may be inserted in a stream of data units, and whether to inserta local advertisement over national advertising. In general, metatagsare placed (logically or temporally) between two pieces of content in afeed to indicate the end of a first piece of content and the beginningof a second piece of content.

Metatags may be created in a number of ways. For example, metatags maybe inserted between content items in a play list of content. In anotherexample, metatags may be created through a video-editing suite.

Timeline 400 includes a first feed 405, which may include live orscheduled programming, advertisements, national programs, and/ortransmissions of the Emergency Broadcast System. In particular, FIG. 4shows a timeline 400 of content being transmitted in a stream ofdatagrams. In timeline 400, the timeline begins at the right and movesto the left (e.g., beginning with live content 410 and ending with livecontent 450). In timeline 400, first feed 405 includes live content 410,which is followed by national advertisements 414, 418, 422, 420, andthen live content 450. Live content 410 and national advertisement 414are separated by a metatag 412, national advertisement 414 and 418 areseparated by a metatag 416, national advertisements 418 and 422 areseparated by metatag 420, national advertisements 422 and 426 areseparated by metatag 424, and national advertisement 426 and livecontent 450 are separated by metatag 428.

Timeline 400 also shows local advertising content in a feed. Advertisingcontent 405 begins with metatag 416B, followed by local advertisement418B, which is in turn followed by metatag 420B.

The metatag includes a weight indicating a prioritization for theaffiliated piece of content. For example, when national advertisement414 is affiliated with metatag 412, metatag 412 has a weight of one. Intimeline 400, advertisements with a higher priority will be incorporatedinto a duplicated feed over advertisements with a lower priority. Thus,in the example shown, priority five represents the highest priority andadvertisements having this priority will be inserted over all otherpieces of content with a priority of less than one. In this case, thereis a no local advertising content so the national advertisement 414 isinserted. However, the metatag 420 associated with nationaladvertisement 422 has a weight of 3 while the metatag 416B for localadvertisement 418B has a weight of 4. Thus, local advertisement 418Bwould be inserted in the duplicated feed over national advertisement422. After local advertisement 418B, local metatag 420B has a weight of3 while the metatag 424 associated with national advertisement 426 has aweight of 4 indicating that the duplicated feed uses nationaladvertisement 426 over the local advertising content.

In the event of a tie between two metatags, various tiebreaker decisionsmay be used (e.g., default to local advertising content). The metatagmay be descriptive of the intended audience or of the advertisingcontent that was ordered. For example, a weight of 6 may indicate thatthe metatag was intended for 6 million terminals. Thus, the availableweight of metatags may be allocated to ensure that the associatedadvertising content reaches the required number of terminals. In anotherexample, the weight may indicate the revenue available by inserting theadvertising feed. For example, a weight of 3 may indicate 3× (base unitof revenue) to determine revenue that would be received by inserting theadvertising content in this manner, the operator of a local network maydetermine which advertisements should be placed to maximize operatorrevenue.

FIG. 5 provides a flow chart 500 that shows bow metatags may be used toinsert advertising content. In general, aspects of FIG. 5 relate to FIG.2 and illustrate how advertising content may be inserted. However, FIG.5 illustrates how a metatag associated with an advertising indicator maybe used to select content. Initially, the source system 110 creates anencoded feed (step 505). The source system. 110 inserts a metatag (step510). Typically, inserting a metatag includes creating a digital mark inan encoded feed of data units so that a duplicating device knows, toinsert advertisements. Typically, each metatag includes one or moredescriptors of the metatag. For example, as was described with respectto FIG. 4, the metatag may include a weight that indicates the priorityof the subsequent content (e.g., a national advertisement) relative tocontent that might be inserted downstream. Inserting the metatag mayinvolve inserting advertising content, as was described with respect toFIG. 2. In another example, the metatag may be inserted withoutassociated advertising content. If background content is available(e.g., national advertising content what was not selected for insertioninto the duplicated feed), then, in the event of an outage, theduplicating device may resort to the background content forincorporation into the duplicated feed. In yet another example, themetatag may include a record descriptive of the advertisement toidentify targeted groups. The record also may be indicative of theadvertisement. The source system 110 transmits the encoded stream withthe metatag (step 515). If TCP is used to transmit the encoded feed,then the delivery and receipt of the encoded stream and metatags may beverified. TCP is not the only protocol that may verify the delivery andreceipt of the encoded feed. Rather, TCP is one example of a protocolthat verifies receipt of content, and does so inherently throughacknowledgements. Other protocols also may verify delivery and receipt.

The source system 130 receives the encoded feed (step 520). Theduplicating device 130 then duplicates the encoded feed as a duplicatedfeed (step 525).

The duplicating device 130 processes the metatags (step 530). Generally,processing the metatags involves determining a value for one or moredescriptors of the metatag and/or associated content. For example, asdescribed with respect to FIG. 4, processing the metatag may includedetermining that the weight of the encoded metatag is 5.

The terminal provides state information to the duplicating device (step535), which then receives the state information (step 540). The stateinformation may include local metatag information for local advertisingcontent to be inserted. For example, a local advertisement may include ametatag weight of 5.

Although receiving state information is shown with respect to theterminal 150, the state information may be received from other systems.For example, the metatag information for local advertising content maybe received when the local advertising content is loaded (e.g., at thelocal advertising ingest site).

The duplicating device 130 relates the metatag information with thestate information (step 545) to determine if local advertising contentshould be selected (step 550). Relating the metatag information mayinclude determining whether the national advertising content in theencoded feed takes priority over the local advertising content.Alternatively, the metatag information may be applied to the stateinformation to create a profile of advertising content that should beretrieved. The advertising content may be identified on a granularbasis, that is, per terminal. For example, applying the metatag to stateinformation for a first terminal may indicate that the nationaladvertising content should be inserted, while applying the metatag tostate information for a second terminal may indicate that localadvertising content should be inserted. In one example, the insertedlocal advertising content may be selected from a queue of advertisingcontent. In another example, local advertising content may be selectedfrom a collection of local advertising content, with the selection beingrandom or based on characteristics of, for example, the terminal or thefocal advertising content.

If local advertising content is selected, the local advertising contentis accessed (step 550) and inserted into the duplicated feed (step 560).If the local advertising content is not inserted, the nationaladvertising content is used (step 550A). In any event, the duplicatingdevice transmits the duplicated feed to the terminal (step 565). Theterminal 150 receives the duplicated feed (step 570).

Other implementations are within the scope of the following claims. Forinstance, a stream manager may dynamically create and remove advertisingcontent from libraries. The stream manager may include a networkoperator, a managing server, a workstation, or a scheduling agent.Examples of the duplicating device include a server and a duplicatingswitch. While aspects of the duplicating, device are described withrespect to inserting advertising content, the duplicating device may beused to insert non-advertising content into a duplicated feed.

The boiler in the duplicating device may be set to a length such that,when a terminal receives the duplicated feed, the content will beoutputted alongside live content through other transmissions channels.For example, the buffer length may be set to 500 ms (“milliseconds”) tomimic the delay present in satellite transmissions. A 500 ms bufferenables lost data units to be retransmitted, assuming 150 ms nationwideresponse rates. Similarly, a 500 ms buffer enables live or emergencytransmissions to e received nearly simultaneously with transmissionsbeing sent over the airwaves as radio (e.g., Frequency modulation (FM)radio).

1-65. (canceled)
 66. A method for inserting advertising content,comprising: accessing a media feed; sending a first portion of theaccessed media feed to a terminal device; receiving state informationassociated with the terminal device; inserting, by a processor, anadvertisement into a second portion of the accessed media feed based onthe state information; and sending the second portion of the accessedmedia feed to the terminal device.
 67. The method of claim 66, whereininserting the advertisement comprises: identifying an advertisementinsertion identifier in the accessed media feed; and selecting anadvertisement from a set of multiple advertisements based on theadvertisement insertion identifier.
 68. The method of claim 67, whereinthe advertisement insertion identifier indicates a demographicadvertising criterion.
 69. The method of claim 67, wherein theadvertisement insertion identifier indicates a local advertisingcriterion.
 70. The method of claim 67, wherein the advertisementinsertion identifier indicates an interruption in sending the firstportion of the accessed media feed to the terminal.
 71. The method ofclaim 66, further comprising inserting a plurality of advertisementsinto the second portion of the accessed media feed.
 72. The method ofclaim 71, further comprising: storing the plurality of advertisements ina buffer; accessing the buffer; and inserting the plurality ofadvertisements into the second portion of the accessed media feed fromthe buffer.
 73. The method of claim 66, wherein inserting theadvertisement comprises selecting an advertisement from a set ofmultiple advertisements based on its priority value.
 74. The method ofclaim 66, wherein the state information identifies the number of datapackets from the first portion of the accessed media feed that theterminal device has received.
 75. The method of claim 66, wherein thestate information identifies the temporal location of a progress of theterminal device in receiving the first portion of the accessed mediafeed.
 76. A computer-based system for inserting advertising contentcomprising one or more processors and one or more storage media storinga plurality of instructions, the plurality of instructions beingexecutable by at least one processor for: accessing a media feed;sending a first portion of the accessed media feed to a terminal device;receiving state information associated with the terminal device;inserting an advertisement into a second portion of the accessed mediafeed based on the state information; and sending the second portion ofthe accessed media feed to the terminal device.
 77. The system of claim76, wherein the instructions executable by at least one processor forinserting the advertisement comprise instructions executable by at leastone processor for: identifying an advertisement insertion identifier inthe accessed media feed; and selecting an advertisement from a set ofmultiple advertisements based on the advertisement insertion identifier.78. The system of claim 77, wherein the advertisement insertionidentifier indicates a demographic advertising criterion.
 79. The systemof claim 77, wherein the advertisement insertion identifier indicates alocal advertising criterion.
 80. The system of claim 77, wherein theadvertisement insertion identifier indicates an interruption in sendingthe first portion of the accessed media feed to the terminal device. 81.The system of claim 76, further comprising instructions executable by atleast one processor for inserting a plurality of advertisements into thesecond portion of the accessed media feed.
 82. The system of claim 81,further comprising instructions executable by at least one processorfor: storing the plurality of advertisements in a buffer; accessing thebuffer; and inserting the plurality of advertisements into the secondportion of the accessed media feed from the buffer.
 83. The system ofclaim 76, wherein the instructions executable by at least one processorfor inserting the advertisement comprise instructions executable by atleast one processor for selecting an advertisement from a set ofmultiple advertisements based on its priority value.
 84. The system ofclaim 76, wherein the state information identifies the number of datapackets from the first portion of the duplicated media feed that theterminal device has received.
 85. The system of claim 76, wherein thestate information identifies the temporal location of a progress of theterminal device in receiving the first portion of the accessed mediafeed.